package com.shareach.deploy.objects;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.shareach.http.jackson.JacksonDateSerializer;

@JsonSerialize(include = (JsonSerialize.Inclusion.NON_NULL))
@JsonIgnoreProperties(ignoreUnknown = true)
public class ActivityObject extends DeplyBaseObject {
	private Long activityId;
	private String title;
	private String describ;
	private String image;
	private Long city;
	private Long bankId;
	private String discountRule;
	private String discountWeeks;
	@JsonSerialize(using = JacksonDateSerializer.class)
	private Date startTime;
	@JsonSerialize(using = JacksonDateSerializer.class)
	private Date endTime;
	private String sid;

	private Integer status;
	
	public Long getActivityId() {
		return activityId;
	}

	public void setActivityId(Long activityId) {
		this.activityId = activityId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescrib() {
		return describ;
	}

	public void setDescrib(String describ) {
		this.describ = describ;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public Long getCity() {
		return city;
	}

	public void setCity(Long city) {
		this.city = city;
	}

	public Long getBankId() {
		return bankId;
	}

	public void setBankId(Long bankId) {
		this.bankId = bankId;
	}

	public String getDiscountRule() {
		return discountRule;
	}

	public void setDiscountRule(String discountRule) {
		this.discountRule = discountRule;
	}

	public String getDiscountWeeks() {
		return discountWeeks;
	}

	public void setDiscountWeeks(String discountWeeks) {
		this.discountWeeks = discountWeeks;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}
